package cn.agiledata.bank.transaction.dao;

import java.util.Date;
import java.util.List;

import cn.agiledata.bank.common.util.LongList;
import cn.agiledata.bank.hibernateBean.Account;
import cn.agiledata.bank.hibernateBean.Bank;
import cn.agiledata.bank.hibernateBean.SubAccount;
import cn.agiledata.bank.hibernateBean.Transaction;

public interface TransactionDao {

    public Transaction getTransactionByTransId(String transId);

    public LongList getTransactionList(String[] actionTypes, Bank bank,
            Date beginDate, Date endDate);

    public Transaction getTransactionByDebitOrderId(SubAccount debit,
            String orderId);

    /**
     * 验证退款申请数据是否合法(退款接口调用)
     * @param account
     * @param returnMoneyList
     * @return
     */
    public List getValReturnMoney(Account account, List returnMoneyList);
}